﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XFPPT.NET.Models
{ 
    /// <summary>
    /// 登录鉴权信息
    /// </summary>
    public class AuthInfo
    {
        /// <summary>
        /// 登录鉴权信息
        /// </summary>
        public AuthInfo() { }

        /// <summary>
        /// 登录鉴权信息
        /// </summary>
        /// <param name="appId">应用ID</param>
        /// <param name="timestamp">时间戳，单位: s，与服务端时间相差五分钟之内</param>
        /// <param name="signature">签名</param>

        public AuthInfo(string appId,string timestamp,string signature) 
        {
            this.appId = appId;
            this.timestamp = timestamp;
            this.signature = signature;

        }
        /// <summary>
        /// 应用ID
        /// </summary>
        public string appId {  get; set; }=string.Empty;
        /// <summary>
        /// 时间戳，单位: s，与服务端时间相差五分钟之内
        /// </summary>
        public string timestamp { get; set; } = string.Empty;

        /// <summary>
        /// 签名
        /// </summary>
        public string signature { get; set; } = string.Empty;
    }
}
